package com.lc.demo.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name="leavetable")
public class Leavetable   {
    @Id
    private  Integer id;
    private  String studentid;
    private Integer courseid;
    private  Integer weekday;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date daytime;
    private Integer state;
    private  String studentexplain;
    private String teacherexplain;
    private String coursename;
    private  String studentname;

}
